package com.wms.data.dao.impl;

import org.springframework.stereotype.Repository;

import com.wms.data.dao.GoodsDao;
import com.wms.data.pojo.Goods;

// ~ File Information
// ====================================================================================================================

@Repository
public class GoodsDaoImpl extends AbstractWMSDao<Goods> implements GoodsDao {

	// ~ Static Fields
	// ==================================================================================================================

	// ~ Fields
	// ==================================================================================================================

	// ~ Constructors
	// ==================================================================================================================

	// ~ Methods
	// ==================================================================================================================

	@Override
	protected String getActualTableName() {

		return "goods";
	}

	@Override
	protected String[] getActualTableColumns() {

		return new String[] { 
				"locale", "category", "name", "pcode", 
				"image", "intro", "details", "price", 
				"mprice", "weight", "inventory", "invstatus", 
				"minbuy", "hassold", "ctime", "utime", 
				"status", "csort", "keywords", "aftersales", 
				"invoice", "warranty", "logistemp", "manager", 
				"remarks", "create_date", "create_by", "update_date", "update_by" 
		};
	}
}
